//
//  CarModuleApi.h
//  QinghaiTourism
//
//  Created by QianXiaoShu on 16/3/28.
//  Copyright © 2016年 QianXiaoShu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AIRequest.h"
#import "CarMethods.h"
#import "CarModleResultParser.h"

static NSString *_carModuleName  =@"Car";


/**
 * 车辆模块 API
 */

@interface CarModuleApi : NSObject
/*
 车辆类型
 
 
 */
+ (void)getCarTypeListcompletion:(AICompletionBlock)block;



/*
 我要认证
cardnum:身份证号
 driveage: 驾龄
 cartypeId:车辆类型id
 carnum： 车牌号
 fileName0-4 :0正面 1:车辆图片 2；身份证反面 3:驾驶证 4:行驶证
 */
+ (void)renZhengWithId:(NSString *)driverId phone:(NSString *)phone cardnum:(NSString *)cardnum driveage:(NSString *)driveage carname:(NSString *)carname cartypeId:(NSString *)cartypeId carnum:(NSString *)carnum fileName0:(NSString *)fileName0 fileName1:(NSString *)fileName1 fileName2:(NSString *)fileName2 fileName3:(NSString *)fileName3 fileName4:(NSString *)fileName4 completion:(AICompletionBlock)block;


//获取车辆信息
+ (void)getcarInfoWithDriverId:(NSString *)driverId completion:(AICompletionBlock)block;



//修改商业险到期时间
+ (void)changeBusinessWithCarInfoId:(NSString *)carInfoId business:(NSString *)business completion:(AICompletionBlock)block;



//获取车辆保养项目
+ (void)completion:(AICompletionBlock)block;


/*
 添加车辆保养记录
 projectId:服务项目id
 mainintinTime：添加时间
 
 */

+ (void)addCarMaintainRecord:(NSString *)driverId projectId:(NSString *)projectId mainintinTime:(NSString *)mainintinTime completion:(AICompletionBlock)block;



/*
 //更换我的车辆
cartypeId:车辆类型ID
 fileName0：行驶证
 fileName1: 车辆图片

*/
+ (void)changeMyCarWithId:(NSString *)driverId carname:(NSString *)carname cartypeId:(NSString *)cartypeId carnum:(NSString *)carnum fileName0:(NSString *)fileName0 fileName1:(NSString *)fileName1 completion:(AICompletionBlock)block;

/*
 //获取司机车辆图片
 driverId:
 
 
 */
+ (void)getDriverImgListWithDriverID:(NSString *)driverId completion:(AICompletionBlock)block;

///*
// //删除司机车辆图片
// */
+ (void)deletePictureWithPictureId:(NSString *)pictureId completion:(AICompletionBlock)block;

@end
